package com.gexiaobao.pigeon.app.model.bean

import java.io.Serializable

/**
 * @author:hxw
 * @date  :2023/1/5
 * @desc  :
 */
class TrainingListResponse(

    var info: ArrayList<InfoList> = arrayListOf()

) : Serializable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = info == null || (info as List<*>).isEmpty()

    class InfoList(
        var liberateTime: String = "",
        var address: String = "",
        var distance: String = "",
        var trainingId: Int = 0,
        var trainingStatus: Int = -1,//1 未开始  2 进行中  3 已结束
        var trainingType: Int = -1//1：单只。2：普通
    ) : Serializable
}